<div class="modal fade" id="modal_modify" style="padding-top: 150px" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    角色修改
                </h4>
            </div>
                <#if result??>
                <div class="modal-body">
                    <form id="form_modify" class="form-horizontal" role="form">
                        <div class="form-group hidden">
                            <label for="firstname" class="col-sm-2 control-label">ID</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="userId" name="id" value="${result.id?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">角色名</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="roleName_modify" name="roleName" placeholder="请输入角色名" value="${result.roleName?default("")}">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="firstname" class="col-sm-2 control-label">描述</label>
                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="description_modify" name="description" placeholder="请输入描述" value="${result.description?default("")}">
                            </div>
                        </div>

                    </form>
                </div>
                </#if>
            <div class="modal-footer">

                <button type="button" id="modalCancel" onclick="function close() {
                            $('#modal_modify').modal('hide');
                        }" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" id="button_modify" onclick="modifyRecord()" class="btn btn-primary">
                    保存
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>